<template>
  <div id="footer">
    <div class="top"></div>
    <div class="bottom">
      <div class="top">
        <ul>
          <li>
            <img src="../../assets/image/微信截图_20210412162351.png" alt />七天无理由退换货
          </li>
          <li>
            <img src="../../assets/image/微信截图_20210412162351.png" alt />满99元全场免邮
          </li>
          <li>
            <img src="../../assets/image/微信截图_20210412162351.png" alt />100%品质保证
          </li>
        </ul>
      </div>
      <ul class="bot">
        <div>
          <div class="box">
            <img src="../../assets/image/github.png" alt />
            <ul>
              <li>首页</li>
              <li>|</li>
              <li>全部商品</li>
              <li>|</li>
              <li>关于我们</li>
            </ul>
            <p>商城版权所有 © 2012-2021</p>
          </div>
        </div>
      </ul>
    </div>
  </div>
</template>

<script>
export default {
  //import引入的组件需要注入到对象中才能使用
  components: {},
  props: {},
  data() {
    //这里存放数据
    return {};
  },
  //计算属性 类似于data概念
  computed: {},
  //监控data中的数据变化
  watch: {},
  //方法集合
  methods: {},
  //生命周期 - 创建完成（可以访问当前this实例）
  created() {},
  //生命周期 - 挂载完成（可以访问DOM元素）
  mounted() {},
  beforeCreate() {}, //生命周期 - 创建之前
  beforeMount() {}, //生命周期 - 挂载之前
  beforeUpdate() {}, //生命周期 - 更新之前
  updated() {}, //生命周期 - 更新之后
  beforeDestroy() {}, //生命周期 - 销毁之前
  destroyed() {}, //生命周期 - 销毁完成
  activated() {} //如果页面有keep-alive缓存功能，这个函数会触发
};
</script>
<style lang='scss' scoped>
#footer {
  width: 100%;
  height: 404px;
  display: flex;
  flex-direction: column;
  .top {
    width: 100%;
    height: 20px;
    background: #ffffff;
  }
  .bottom {
    flex: 1;
    background: #2f2f2f;
    display: flex;
    flex-direction: column;
    .top {
      width: 100%;
      height: 164px;
      background: #2f2f2f;
      border-bottom: 1px solid #3d3d3d;
      display: flex;
      justify-content: center;
      align-items: center;
      ul {
        width: 1126px;
        height: 50px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        li {
          font-size: 20px;
          cursor: pointer;
          color: white;
          display: flex;
          align-items: center;
          img {
            margin-right: 18px;
          }
        }
      }
    }
    .bot {
      flex: 1;
      div {
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        .box {
          width: 360px;
          height: 148px;
          display: flex;
          flex-direction: column;
          justify-content: space-between;
          align-items: center;
          ul {
            width: 100%;
            padding: 0 32px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            li {
              color: #888888;
              font-size: 18px;
              cursor: pointer;
            }
          }
          p {
            color: #888888;
            font-size: 18px;
          }
        }
      }
    }
  }
}
</style>